package com.gxa.teax.cores.utils;

/**
 * 密码加密
 * @author wangpeng
 * @date 2022/07/19
 */
public class PasswordUtils {

    static final String SALT = "140ee0001bda4f128640a33f05cb0d16";
    static final Integer LENGTH = 10;

    public static String getMd5Utils(String pwd){
        String pwdSalts = pwd.trim()+SALT;
        for (int i = 0; i < LENGTH; i++){
            pwdSalts = MD5Util.encode(pwdSalts);
        }
        return pwdSalts;
    }
}
